<?php
use yii\helpers\Html;
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/3/16
 * Time: 15:57
 */
?>
<?=$default?>
<div class="m_top_10 btn" style="width: 100%">
    <?= Html::submitButton('提交', ['class' => "btn yx-goods-btn yx-radius5", 'id' => 'dosubmit']) ?>
</div>
    <?php \yii\widgets\ActiveForm::end(); ?>
<?php
$js = <<<JS
//$('#goods-mechanic_id').parents('tr').siblings().remove();
$('#goods-brand_id').parents('tr').remove();
$('#goods-cost').parents('tr').remove();
$('#goods-market_price').parents('tr').remove();
$('#goods-picture').parents('tr').remove();
$('#goods-description').parents('tr').remove();
$('#goods-content').parents('tr').remove();
$('#goods-max_buy').parents('tr').remove();

$('#goods-score').parents('tr').remove();
$('#goods-store_prompt').parents('tr').remove();
$('#goods-arrangement_id').parents('tr').remove();
$('#goods-nostore_sell').parents('tr').remove();
$('#goods-is_buy').parents('tr').remove();
$('#goods-is_show').parents('tr').remove();
$('#goods-is_shelve').parents('tr').remove();
$("input[name^='attribute']").parents('tr').remove();

//机构

JS;
$this->registerJS($js);
?>

